Skip to content

Conversation

@Czechh
Copy link
Contributor

@Czechh Czechh commented Aug 20, 2020

What does this PR do?

This PR adds a new lambda function to get tested (http-errors) and an additional serverless framework configuration (using the serverless-plugin-datadog) to improve coverage.

Since the serverless-plugin-datadog by default uses the latest version of the datadog-lambda-js library, I used addLayers false and included the local build of the library in the serverless build.

I noticed that some log lines are not in order so I sorted them before comparing to improve flakiness.

Motivation

A ticket https://datadoghq.atlassian.net/browse/SLS-471

Coverage

Testing Guidelines

Additional Notes

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@Czechh Czechh requested a review from a team as a code owner August 20, 2020 18:12
Copy link
Contributor

@agocs agocs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good. My one concern is adding an external dependency on stat.us being up in order for our tests to pass. Might be worth adding a note to the run_integration_tests.sh to remind future-us to check stat.us if tests fail.

@Czechh
Copy link
Contributor Author

Czechh commented Aug 21, 2020

Added a comment on the failure of the tests!

@Czechh Czechh merged commit 0aa6b3e into master Aug 21, 2020
@Czechh Czechh deleted the sergio.prada/update-integration-tests branch August 21, 2020 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants